package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.TruefalseDao;
import com.bootdo.screen.domain.TruefalseDO;
import com.bootdo.screen.service.TruefalseService;



@Service
public class TruefalseServiceImpl implements TruefalseService {
	@Autowired
	private TruefalseDao truefalseDao;
	
	@Override
	public TruefalseDO get(Integer id){
		return truefalseDao.get(id);
	}
	
	@Override
	public List<TruefalseDO> list(Map<String, Object> map){
		return truefalseDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return truefalseDao.count(map);
	}
	
	@Override
	public int save(TruefalseDO truefalse){
		return truefalseDao.save(truefalse);
	}
	
	@Override
	public int update(TruefalseDO truefalse){
		return truefalseDao.update(truefalse);
	}
	
	@Override
	public int remove(Integer id){
		return truefalseDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return truefalseDao.batchRemove(ids);
	}
	
}
